<%@ page contentType="text/html; charset=utf-8"%>
<%@ taglib prefix="c" uri="http://java.sun.com/jsp/jstl/core" %>
<%@ taglib prefix="tags" tagdir="/WEB-INF/tags" %>
<html>
<body>
<jsp:include page="_headCharge.jsp"></jsp:include>
<form class="form-inline" action="" method="post">
显示的记录数： <input type="text" name="limit" value="${limit}"/>
从<div class="datepicker input-append">
    <input data-format="yyyy-MM-dd" type="text" value="${beginDate}" name="beginDate"></input>
    <span class="add-on">
      <i data-time-icon="icon-time" data-date-icon="icon-calendar">
      </i>
    </span>
  </div>
  到<div class="datepicker input-append">
    <input data-format="yyyy-MM-dd" type="text" value="${endDate}" name="endDate"></input>
    <span class="add-on">
      <i data-time-icon="icon-time" data-date-icon="icon-calendar">
      </i>
    </span>
  </div>
  <button type="submit" class="btn">查询</button>
</form>

<table>
     <tr>
	    <td>充值K币总计：${allRank.allGold}<br/>
				<table class="table table-bordered">
				  <thead>
				    <tr> 	 	 			 	
				      <th>名次</th>
				      <th>用户</th>
				      <th>次数</th>
				      <th>充值金额(KB)</th>
				    </tr>
				  </thead>
				  <tbody>
				  <c:forEach  varStatus="vs" var="m" items="${allRank.rank1}">
				    <tr>
				    <td>${vs.count}</td>
				      <td><tags:user id="${m.kugouId}"></tags:user></td>
				      <td>${m.times}</td>
				      <td>${m.gold}</td>
				    </tr>
				  </c:forEach>
				  </tbody>
				</table>
	    </td>
	    <td>现存K币排名:<br/>
	    	<table class="table table-bordered">
				  <thead>
				    <tr>	 			 	
				      <th>名次</th>
				      <th>用户</th>
				      <th>K币</th>
				    </tr>
				  </thead>
				  <tbody>
				  <c:forEach  varStatus="vs" var="m" items="${allRank.rank2}">
				    <tr>
				    <td>${vs.count}</td>
				      <td><tags:user id="${m.playerId}"></tags:user></td>
				      <td>${m.gold}</td>
				    </tr>
				  </c:forEach>
				  </tbody>
				</table>
	    </td>
	    <td>现存分贝排名：<br/>
	    	<table class="table table-bordered">
				  <thead>
				    <tr> 	 	 			 	
				      <th>名次</th>
				      <th>用户</th>
				      <th>分贝</th>
				    </tr>
				  </thead>
				  <tbody>
				  <c:forEach  varStatus="vs" var="m" items="${allRank.rank3}">
				    <tr>
				     <td>${vs.count}</td>
				      <td><tags:user id="${m.playerId}"></tags:user></td>
				      <td>${m.silver}</td>
				    </tr>
				  </c:forEach>
				  </tbody>
				</table>
	    </td>
    </tr>
    <tr>
	    <td>
	    
	    </td>
	    <td>消费K币排名：<br/>
	    	<table class="table table-bordered">
				  <thead>
				    <tr> 	 	 			 	
				       <th>名次</th>
				      <th>用户</th>
				      <th>K币</th>
				    </tr>
				  </thead>
				  <tbody>
				  <c:forEach  varStatus="vs" var="m" items="${allRank.rank4}">
				    <tr>
				     <td>${vs.count}</td>
				      <td><tags:user id="${m.playerId}"></tags:user></td>
				      <td>${m.goldConsume}</td>
				    </tr>
				  </c:forEach>
				  </tbody>
				</table>
	    </td>
	    <td>消费分贝排名：<br/>
	    	<table class="table table-bordered">
				  <thead>
				    <tr> 	 	 			 	
				       	  <th>名次</th>
					      <th>用户</th>
					      <th>分贝</th>
				    </tr>
				  </thead>
				  <tbody>
				  <c:forEach  varStatus="vs" var="m" items="${allRank.rank5}">
				    <tr>
				    <td>${vs.count}</td>
				      <td><tags:user id="${m.playerId}"></tags:user></td>
				      <td>${m.silverConsume}</td>
				    </tr>
				  </c:forEach>
				  </tbody>
				</table>
	    </td>
    </tr>
</table>
</body>
</html>